package com.ywu.application.standard.demandManagement.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ywu.common.entity.CommonEntity;
import lombok.Data;
import lombok.ToString;

import java.util.Date;
import java.util.List;

/**
 * @ClassName YwuDemandManageEntity
 * @Description TODO
 * @Author GroundDemo
 * @Date 2025/3/31 15:36
 * @Version 1.0
 **/
@Data
@ToString
public class YwuDemandManageEntity extends CommonEntity {
    public static final String ANALYSIS = "analysis";

    public static final String DEVELOPING = "developing";

    public static final String DEVELOP_COMPLETE = "developing-complete";

    public static final String TESTING = "testing";

    public static final String TEST_COMPLETE = "test-complete";

    public static final String IR_TYPE = "IR";

    public static final String US_TYPE = "US";

    private String id;

    private String demandName;

    private String demandType;

    private String demandDescription;

    private String projectId;

    private String projectName;

    private String versionId;

    private String versionName;

    private String demandStatus;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date expectDevBegin;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date expectDevEnd;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date expectTestTime;

    private Integer devUser;

    private String devUserName;

    private Integer testUser;

    private String testUserName;

    private String parentIr;

    private List<YwuDemandManageEntity> children;
}
